package service;

import spring.ApplicationContext;

public class Main {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ApplicationContext(AppConfig.class);

        UserService userService1 = ((UserService) applicationContext.getBean("userService"));
        userService1.test();

    }
}